package com.kingdee.eas.minghua.trademanage;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class OrderContractFactory
{
    private OrderContractFactory()
    {
    }
    public static com.kingdee.eas.minghua.trademanage.IOrderContract getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IOrderContract)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("B570C11A") ,com.kingdee.eas.minghua.trademanage.IOrderContract.class);
    }
    
    public static com.kingdee.eas.minghua.trademanage.IOrderContract getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IOrderContract)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("B570C11A") ,com.kingdee.eas.minghua.trademanage.IOrderContract.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.trademanage.IOrderContract getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IOrderContract)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("B570C11A"));
    }
    public static com.kingdee.eas.minghua.trademanage.IOrderContract getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IOrderContract)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("B570C11A"));
    }
}